﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="activityManager.aspx.cs" Inherits="ly.Web.Admin.activityManager" %>

<%--分页的引用注册--%>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %><%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>活动管理</title>
     <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="renderer" content="webkit">
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link href="css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.css?v=4.3.0" rel="stylesheet">

    <!-- Morris -->
    <link href="css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet">

    <!-- Gritter -->
    <link href="js/plugins/gritter/jquery.gritter.css" rel="stylesheet">

    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=2.2.0" rel="stylesheet">

</head>
<body>
    <form id="form1" runat="server">
        <div id="wrapper">
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">

                        <div class="dropdown profile-element"> <span>
                            <img alt="image" class="img-circle" src="img/profile_small.jpg" />
                             </span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="index.aspx#">
                                <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">Beaut-ly</strong>
                             </span>  <span class="text-muted text-xs block">超级管理员 <b class="caret"></b></span> </span>
                            </a>
                            <ul class="dropdown-menu animated fadeInRight m-t-xs">
                          
                                <li><a href="Login.aspx">安全退出</a>
                                </li>
                            </ul>
                        </div>
                      

                    </li>
                    <li >
                        <a href="Index.aspx"><span class="nav-label">主页</span></a>
                    </li>
                    <li>
                        <a href="User.aspx"><span class="nav-label">用户管理</span></a>
                    </li>                    
                    <li>
                        <a href="index.html#"> <span class="nav-label">新闻管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="addnews.aspx">添加新闻</a>
                            </li>
                            <li><a href="newsManager.aspx">管理新闻</a>
                            </li>

                        </ul>
                    </li>
                    <li>
                        <a href="workManager.aspx"> <span class="nav-label">作品管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="addWork.aspx">发布作品</a>
                            </li>
                            <li><a href="workManager.aspx">管理作品</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="activityManager.aspx"><span class="nav-label">活动管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="addManager.aspx">添加新活动</a>
                            </li>
                            <li><a href="activityManager.aspx">编辑活动</a>
                            </li>
                        </ul>
                   </li>
               </ul>
            </div>
        </nav>

        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                        <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i></a>
                    </div>
                    <ul class="nav navbar-top-links navbar-right">
                        <li>
                            <span ><a href="#" title="返回首页"><i class="fa fa-home"></i></a>欢迎来到后台主页</span></li>
                        <li class="dropdown">
                          
                            <ul class="dropdown-menu dropdown-messages">
                                <li>
                                    <div class="dropdown-messages-box">
                                      
                                        
                                    </div>
                                </li>
                                <li class="divider"></li>
                                <li>
                               
                                </li>
                                <li class="divider"></li>
                                <li>
                                
                                </li>
                            </ul>
                        </li>
                        <li class="dropdown">
                            <a class="dropdown-toggle count-info" data-toggle="dropdown" href="index.html#">
                                <i class="fa fa-bell"></i>  <span class="label label-primary">8</span>
                            </a>
                            <ul class="dropdown-menu dropdown-alerts">
                               
                                <li class="divider"></li>
                              
                                <li class="divider"></li>
                            </ul>
                        </li>


                        <li>
                            <a href="Login.aspx">
                                <i class="fa fa-sign-out"></i> 退出
                            </a>
                        </li>
                    </ul>

                </nav>
            </div>
            <div class="row wrapper border-bottom white-bg page-heading">
                <div class="col-lg-10">
                  <div>
                <asp:Repeater ID="rptActivity" runat="server">
                <HeaderTemplate>
                    <table class="stripe_tb" border="1" width="60%" cellpadding="0" cellspacing="0">
                        <thead>
                            <tr class="nav_table">
                                <td bgcolor="#F5FAFE">活动编号</td>
                                <td bgcolor="#F5FAFE">活动名称</td>
                                <td bgcolor="#F5FAFE">审核情况</td>
                                <td bgcolor="#F5FAFE">活动状态</td>
                                <td bgcolor="#F5FAFE">发布人</td>
                                <td bgcolor="#F5FAFE">修改</td> 
                                <td bgcolor="#F5FAFE">删除</td>
                                <td bgcolor="#F5FAFE">通过/拒绝</td>
                            </tr>
                        </thead>
                        <tbody>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td bgcolor="#ffffff"><%#Eval("ActivityID")%></td>
                        <td bgcolor="#ffffff"><%#Eval("ActivityName")%></td>
                        <td bgcolor="#ffffff"><%#Eval("ActivityVerify")%></td>
                        <td bgcolor="#ffffff"><%#Eval("ActivityStatus")%></td>
                        <td bgcolor="#ffffff"><%#Eval("UserName")%></td>
                        <td>
                            <asp:ImageButton ID="imbtnUpdate" ImageUrl="img/bulb.gif" runat="server" CommandArgument='<%#Eval("ActivityID")%>'
                             OnCommand="imbtnUpdate_Command" /></td>
                        <td>
                            <asp:ImageButton ID="imbtnDel" ImageUrl="img/against.gif" runat="server" CommandArgument='<%#Eval("ActivityID")%>'
                             OnCommand="imbtnDel_Command" /></td>
                        <td>
                            <asp:ImageButton ID="imbtnCheck" ImageUrl="img/checkmark.gif" runat="server" CommandArgument='<%#Eval("ActivityID")%>'
                             OnCommand="imbtnCheck_Command" /></td>
                        </tr>

                        <%--OnCommand=""--%>
                </ItemTemplate>
                <FooterTemplate>
                    </tbody>

                        </table>
                </FooterTemplate>

                        </asp:Repeater>

<%#Eval("ActivityID")%>
             <Webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="true" PageSize="10" ShowPageIndexBox="Always" SubmitButtonText="前往" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" Width="100%">
         </Webdiyer:AspNetPager>
    </div>

             </div>
            </div>

    <!-- Mainly scripts -->
    <script src="js/jquery-2.1.1.min.js"></script>
    <script src="js/bootstrap.min.js?v=3.4.0"></script>
    <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- Flot -->
    <script src="js/plugins/flot/jquery.flot.js"></script>
    <script src="js/plugins/flot/jquery.flot.tooltip.min.js"></script>
    <script src="js/plugins/flot/jquery.flot.spline.js"></script>
    <script src="js/plugins/flot/jquery.flot.resize.js"></script>
    <script src="js/plugins/flot/jquery.flot.pie.js"></script>

    <!-- Peity -->
    <script src="js/plugins/peity/jquery.peity.min.js"></script>
    <script src="js/demo/peity-demo.js"></script>

    <!-- Custom and plugin javascript -->
    <script src="js/hplus.js?v=2.2.0"></script>
    <script src="js/plugins/pace/pace.min.js"></script>

    <!-- jQuery UI -->
    <script src="js/plugins/jquery-ui/jquery-ui.min.js"></script>

    <!-- GITTER -->
    <script src="js/plugins/gritter/jquery.gritter.min.js"></script>

    <!-- EayPIE -->
    <script src="js/plugins/easypiechart/jquery.easypiechart.js"></script>

    <!-- Sparkline -->
    <script src="js/plugins/sparkline/jquery.sparkline.min.js"></script>

    <!-- Sparkline demo data  -->
    <script src="js/demo/sparkline-demo.js"></script>
    </form>
</body>
</html>
